package com.s07.e01;

import com.s07.e01.model.GoldUser;
import com.s07.e01.model.StandardUser;
import com.s07.e01.model.User;
import com.s07.e01.utils.UserUtils;

public class MyInheritance {

	public static void main(String[] args) {
		
		User user = new User("Grzegorz","Solecki");
		
		StandardUser standarduser = new StandardUser("Anna","Perepeczko");
		GoldUser golduser = new GoldUser("Adam","Niezgodka");
		
		user.process();
		standarduser.showDiscountProducts();
		golduser.showExtraProducts();
		golduser.showDiscountProducts();
		
		User[] users = {user, standarduser, golduser};
 		UserUtils.listUsers(users);
		

	}

}
